<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>benny-sdl-classes: Particle Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">benny-sdl-classes
   
   </div>
   <div id="projectbrief">Benny&#39;s assorted SDL game classes. Does exactly what it says on the can.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_particle.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Particle Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Particle" --><!-- doxytag: inherits="Box" -->
<p><code>#include &lt;<a class="el" href="_particle_8h_source.html">Particle.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Particle:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle__inherit__graph.png" border="0" usemap="#_particle_inherit__map" alt="Inheritance graph"/></div>
<map name="_particle_inherit__map" id="_particle_inherit__map">
<area shape="rect" id="node2" href="class_box.html" title="Box" alt="" coords="16,5,61,32"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Particle:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle__coll__graph.png" border="0" usemap="#_particle_coll__map" alt="Collaboration graph"/></div>
<map name="_particle_coll__map" id="_particle_coll__map">
<area shape="rect" id="node2" href="class_box.html" title="Box" alt="" coords="16,5,61,32"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_particle-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a40f4c7e248029d72e7714b7802d5e5e1">Particle</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a941cc0157cdca0a707d36642a08b4617">Particle</a> (Sint16 X, Sint16 Y, double XVEL, double YVEL, int AGEDIE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a5fe8d187ad9fd5840133238cf6069b5b">Particle</a> (Sint16 X, Sint16 Y, double XVEL, double YVEL, double XACC, double YACC, int AGEDIE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a36bdfedd08d3c2c46f98202d9bf97a98">Particle</a> (<a class="el" href="class_vec2_d.html">Vec2D</a> POS, <a class="el" href="class_vec2_d.html">Vec2D</a> VEL, int AGEDIE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a3d39d275ffc44b6979f20b941f547c7b">Particle</a> (<a class="el" href="class_vec2_d.html">Vec2D</a> POS, <a class="el" href="class_vec2_d.html">Vec2D</a> VEL, <a class="el" href="class_vec2_d.html">Vec2D</a> ACC, int AGEDIE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#ad030d0fe7b88cf81744b127c99244ff4">~Particle</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a82002583c7755640d197ca25f5c5d2aa">set_vel</a> (int XVEL, int YVEL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a18b2554bf9293af43bcd0c81f5722b98">set_acceleration</a> (double XACC, double YACC)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a7ca72f987d80c7b93db355798a3d9599">tick</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty tick funtion.  <a href="#a7ca72f987d80c7b93db355798a3d9599"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#ac23da89be59d1d920b869a7f95c1eaed">dead</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a6563cb29ab968dd4552a2f1b9b51b051">set_colourmode</a> (bool mode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a6f60d0b971afed440f9171f8259d9dfc">set_startcolour</a> (SDL_Colour *colour)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a29e6a1106758661ca747431e3870d09e">set_endcolour</a> (SDL_Colour *colour)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SDL_Surface *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particle.html#a08e471cb7a6096a1b2e5517f9b53e418">sprite</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a40f4c7e248029d72e7714b7802d5e5e1"></a><!-- doxytag: member="Particle::Particle" ref="a40f4c7e248029d72e7714b7802d5e5e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Particle::Particle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle_a40f4c7e248029d72e7714b7802d5e5e1_cgraph.png" border="0" usemap="#class_particle_a40f4c7e248029d72e7714b7802d5e5e1_cgraph" alt=""/></div>
<map name="class_particle_a40f4c7e248029d72e7714b7802d5e5e1_cgraph" id="class_particle_a40f4c7e248029d72e7714b7802d5e5e1_cgraph">
<area shape="rect" id="node3" href="class_box.html#a5d807c5d4f1cace5416b30be4c3c97f2" title="Sets a mode of the Box." alt="" coords="174,5,285,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a941cc0157cdca0a707d36642a08b4617"></a><!-- doxytag: member="Particle::Particle" ref="a941cc0157cdca0a707d36642a08b4617" args="(Sint16 X, Sint16 Y, double XVEL, double YVEL, int AGEDIE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Particle::Particle </td>
          <td>(</td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>X</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>Y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>XVEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>YVEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>AGEDIE</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle_a941cc0157cdca0a707d36642a08b4617_cgraph.png" border="0" usemap="#class_particle_a941cc0157cdca0a707d36642a08b4617_cgraph" alt=""/></div>
<map name="class_particle_a941cc0157cdca0a707d36642a08b4617_cgraph" id="class_particle_a941cc0157cdca0a707d36642a08b4617_cgraph">
<area shape="rect" id="node3" href="class_box.html#a5d807c5d4f1cace5416b30be4c3c97f2" title="Sets a mode of the Box." alt="" coords="174,5,285,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5fe8d187ad9fd5840133238cf6069b5b"></a><!-- doxytag: member="Particle::Particle" ref="a5fe8d187ad9fd5840133238cf6069b5b" args="(Sint16 X, Sint16 Y, double XVEL, double YVEL, double XACC, double YACC, int AGEDIE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Particle::Particle </td>
          <td>(</td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>X</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>Y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>XVEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>YVEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>XACC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>YACC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>AGEDIE</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle_a5fe8d187ad9fd5840133238cf6069b5b_cgraph.png" border="0" usemap="#class_particle_a5fe8d187ad9fd5840133238cf6069b5b_cgraph" alt=""/></div>
<map name="class_particle_a5fe8d187ad9fd5840133238cf6069b5b_cgraph" id="class_particle_a5fe8d187ad9fd5840133238cf6069b5b_cgraph">
<area shape="rect" id="node3" href="class_box.html#a5d807c5d4f1cace5416b30be4c3c97f2" title="Sets a mode of the Box." alt="" coords="174,5,285,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a36bdfedd08d3c2c46f98202d9bf97a98"></a><!-- doxytag: member="Particle::Particle" ref="a36bdfedd08d3c2c46f98202d9bf97a98" args="(Vec2D POS, Vec2D VEL, int AGEDIE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Particle::Particle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vec2_d.html">Vec2D</a>&#160;</td>
          <td class="paramname"><em>POS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vec2_d.html">Vec2D</a>&#160;</td>
          <td class="paramname"><em>VEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>AGEDIE</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle_a36bdfedd08d3c2c46f98202d9bf97a98_cgraph.png" border="0" usemap="#class_particle_a36bdfedd08d3c2c46f98202d9bf97a98_cgraph" alt=""/></div>
<map name="class_particle_a36bdfedd08d3c2c46f98202d9bf97a98_cgraph" id="class_particle_a36bdfedd08d3c2c46f98202d9bf97a98_cgraph">
<area shape="rect" id="node3" href="class_box.html#a5d807c5d4f1cace5416b30be4c3c97f2" title="Sets a mode of the Box." alt="" coords="174,5,285,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3d39d275ffc44b6979f20b941f547c7b"></a><!-- doxytag: member="Particle::Particle" ref="a3d39d275ffc44b6979f20b941f547c7b" args="(Vec2D POS, Vec2D VEL, Vec2D ACC, int AGEDIE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Particle::Particle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vec2_d.html">Vec2D</a>&#160;</td>
          <td class="paramname"><em>POS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vec2_d.html">Vec2D</a>&#160;</td>
          <td class="paramname"><em>VEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vec2_d.html">Vec2D</a>&#160;</td>
          <td class="paramname"><em>ACC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>AGEDIE</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle_a3d39d275ffc44b6979f20b941f547c7b_cgraph.png" border="0" usemap="#class_particle_a3d39d275ffc44b6979f20b941f547c7b_cgraph" alt=""/></div>
<map name="class_particle_a3d39d275ffc44b6979f20b941f547c7b_cgraph" id="class_particle_a3d39d275ffc44b6979f20b941f547c7b_cgraph">
<area shape="rect" id="node3" href="class_box.html#a5d807c5d4f1cace5416b30be4c3c97f2" title="Sets a mode of the Box." alt="" coords="174,5,285,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad030d0fe7b88cf81744b127c99244ff4"></a><!-- doxytag: member="Particle::~Particle" ref="ad030d0fe7b88cf81744b127c99244ff4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Particle::~Particle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac23da89be59d1d920b869a7f95c1eaed"></a><!-- doxytag: member="Particle::dead" ref="ac23da89be59d1d920b869a7f95c1eaed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Particle::dead </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a18b2554bf9293af43bcd0c81f5722b98"></a><!-- doxytag: member="Particle::set_acceleration" ref="a18b2554bf9293af43bcd0c81f5722b98" args="(double XACC, double YACC)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Particle::set_acceleration </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>XACC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>YACC</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle_a18b2554bf9293af43bcd0c81f5722b98_cgraph.png" border="0" usemap="#class_particle_a18b2554bf9293af43bcd0c81f5722b98_cgraph" alt=""/></div>
<map name="class_particle_a18b2554bf9293af43bcd0c81f5722b98_cgraph" id="class_particle_a18b2554bf9293af43bcd0c81f5722b98_cgraph">
<area shape="rect" id="node3" href="class_vec2_d.html#ac916cadb7570a585d2acb717bc5c4932" title="Sets new values for the vector." alt="" coords="225,5,311,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6563cb29ab968dd4552a2f1b9b51b051"></a><!-- doxytag: member="Particle::set_colourmode" ref="a6563cb29ab968dd4552a2f1b9b51b051" args="(bool mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Particle::set_colourmode </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a29e6a1106758661ca747431e3870d09e"></a><!-- doxytag: member="Particle::set_endcolour" ref="a29e6a1106758661ca747431e3870d09e" args="(SDL_Colour *colour)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Particle::set_endcolour </td>
          <td>(</td>
          <td class="paramtype">SDL_Colour *&#160;</td>
          <td class="paramname"><em>colour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6f60d0b971afed440f9171f8259d9dfc"></a><!-- doxytag: member="Particle::set_startcolour" ref="a6f60d0b971afed440f9171f8259d9dfc" args="(SDL_Colour *colour)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Particle::set_startcolour </td>
          <td>(</td>
          <td class="paramtype">SDL_Colour *&#160;</td>
          <td class="paramname"><em>colour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a82002583c7755640d197ca25f5c5d2aa"></a><!-- doxytag: member="Particle::set_vel" ref="a82002583c7755640d197ca25f5c5d2aa" args="(int XVEL, int YVEL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Particle::set_vel </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>XVEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>YVEL</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle_a82002583c7755640d197ca25f5c5d2aa_cgraph.png" border="0" usemap="#class_particle_a82002583c7755640d197ca25f5c5d2aa_cgraph" alt=""/></div>
<map name="class_particle_a82002583c7755640d197ca25f5c5d2aa_cgraph" id="class_particle_a82002583c7755640d197ca25f5c5d2aa_cgraph">
<area shape="rect" id="node3" href="class_vec2_d.html#ac916cadb7570a585d2acb717bc5c4932" title="Sets new values for the vector." alt="" coords="169,5,255,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7ca72f987d80c7b93db355798a3d9599"></a><!-- doxytag: member="Particle::tick" ref="a7ca72f987d80c7b93db355798a3d9599" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Particle::tick </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Empty tick funtion. </p>
<p>Tick function that immediately returns. Allows static, boring boxes like this class to be thrown through the same algorithms as derived classes (players, particles, etc.) without causing issues. Rather useless but there for flexibility. </p>

<p>Reimplemented from <a class="el" href="class_box.html#aef168d8226c16322d2778fdf756057bb">Box</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_particle_a7ca72f987d80c7b93db355798a3d9599_cgraph.png" border="0" usemap="#class_particle_a7ca72f987d80c7b93db355798a3d9599_cgraph" alt=""/></div>
<map name="class_particle_a7ca72f987d80c7b93db355798a3d9599_cgraph" id="class_particle_a7ca72f987d80c7b93db355798a3d9599_cgraph">
<area shape="rect" id="node3" href="class_vec2_d.html#a344eb1026c248d3387e37c8b0d665cb6" title="Returns the x value of the vector." alt="" coords="149,5,251,32"/><area shape="rect" id="node5" href="class_vec2_d.html#a847fe3cf2160f1e48c8f706630772da8" title="Returns the y value of the vector." alt="" coords="149,56,251,83"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a08e471cb7a6096a1b2e5517f9b53e418"></a><!-- doxytag: member="Particle::sprite" ref="a08e471cb7a6096a1b2e5517f9b53e418" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SDL_Surface* <a class="el" href="class_particle.html#a08e471cb7a6096a1b2e5517f9b53e418">Particle::sprite</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="class_box.html#a3adda3311d61e9a36e6c2ff412e03a82">Box</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/<a class="el" href="_particle_8h_source.html">Particle.h</a></li>
<li>src/<a class="el" href="_particle_8cpp.html">Particle.cpp</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_particle.html">Particle</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Oct 23 2011 04:30:01 for benny-sdl-classes by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
